package com.neusoft.neu.fy25g01.n98.service;

import com.neusoft.neu.fy25g01.n98.entity.CommonResult;
import com.neusoft.neu.fy25g01.n98.entity.Role;

import java.util.List;

public interface RoleService {
    Role findById(Integer rid);

    int modRole(Role role);

    CommonResult addRole(Role role);

    int delRole(Integer id);

    CommonResult<List<Role>> findAll();

    List<Role> findAll1();
}
